package cn.com.joycode.nimble.core.message;

/**
 * @author Max Woods
 * @since 1.0
 */

public class NbMsgBuilderFactory {

    private static NbMsgType type = NbMsgType.NORMAL;

    private static String spec = "NB";

    private static String ver = "1.0";

    public static NbMsgBuilder builder() {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }

    public static NbMsgBuilder builder(NbMsgType type) {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }

    public static NbMsgBuilder builder(NbMsgType type, String spec) {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }

    public static NbMsgBuilder builder(NbMsgType type, String spec, String ver) {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }

    public static NbMsgBuilder builder(String spec) {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }

    public static NbMsgBuilder builder(String spec, String ver) {
        return new NbMsgDefaultBuilder(type, spec, ver);
    }
}